<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>上传文件</title>
</head>
<body>
	<form action="uploadFile" method="post" enctype="multipart/form-data">
		<input type="file" name="fileName" />
		<input type="submit" value="上传图片或者视频"/>
	</form>
	<hr />
	<span>图片展示</span>
	<img alt="" src="" th:src="${url}" />
	<hr />
	<span>视频展示</span>
	<hr />
	<video width="320" height="240"  controls="controls" >
		 <source src="movie.ogg" type="video/ogg">
	 	 <source th:src="${url}" type="video/mp4">
	</video>
</body>
</html>